package com.liankuan.console.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "strategy")
@Data
public class Config {
    //策略日志路径
    private String logPath;

    //jar包启动脚本文件
    private String jarStartShellFile;

    //策略创建拷贝脚本文件
    private String jarCopyShellFile;

    //策略jar包运行状态文件
    private String jarstatePath;

    //策略对应收益曲线日志文件
    private String profitPath;

    //存放持久化信息
    private String LogPathOrmInfo;

    //当前所处的环境
    private String env;

    //系统最高权限者
    private String admin;

    //系统最高权限者级别
    private Integer manager;

    //策略创建者级别
    private Integer create;

    //策略编辑者级别
    private Integer edit;

    //策略察看者级别
    private Integer see;


}
